package com.deyuanyun.pic.settings.controller.dto;

import com.deyuanyun.pic.common.util.StringUtils;
import com.deyuanyun.pic.settings.enumeration.PipeValidateType;

/**
 *  管道基础设置验证
 *  @author axiao(xj08.dream@gmail.com)
 *  @date 2016-11-25
 *  @version 1.0
 *  Histroy: [修改人][时间][描述]
 */
public class PipeValidateVO {

    private String type; //基础设置对应的功能

    private String id; //id

    private String name; //名字

    private String abridge;//代号

    public String getType() {
        return type;
    }

    public PipeValidateVO setType(String type) {
        this.type = type;
        return this;
    }

    public String getId() {
        return id;
    }

    public PipeValidateVO setId(String id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name == null || name == "" ? name : name.trim();
    }

    public PipeValidateVO setName(String name) {
        this.name = name;
        return this;
    }

    public String getAbridge() {
        return abridge == null || abridge == "" ? abridge : abridge.trim();
    }

    public PipeValidateVO setAbridge(String abridge) {
        this.abridge = abridge;
        return this;
    }
}
